package com.jkt.rms.dataservice;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.jkt.rms.business.Resource;
import com.jkt.rms.commons.utils.RMSException;

public interface ResourceDataService {
	public Resource saveResource(Resource resource) throws RMSException;
	public List<Resource> findByCriteria(DetachedCriteria crit);
	public Resource findProjectById(int resourceId);
	public void updateResource(Resource resource) throws RMSException;

}
